
from datetime import datetime

today = datetime.now()

from_day = datetime.strptime('2021-01-18', '%Y-%m-%d')

print('今天是打卡的第', (today - from_day).days + 1, '天')
